﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class HollowSquare
    {
        public static void Demo01()
        {
            //Console.WriteLine("*****");
            //Console.WriteLine("*   *");
            //Console.WriteLine("*   *");
            //Console.WriteLine("*   *");
            //Console.WriteLine("*****");
            for (int i = 0; i <= 4; i++)
            {
                if (i < 1 || i==4)
                {
                    Console.WriteLine("*****");
                }
                else
                {
                    Console.WriteLine("*   *");
                }
            }
        }
    }
}
